{{extend './layout/layout.html'}}
{{block 'head'}}<link rel="stylesheet" href="/public/css/login.css">{{/block}}
{{block 'content'}}
<div>
    <div id="content">
        <div class="panel">
            <div class="info">{{info}}</div>
            <div class="logo"><h1>Markdown Edit</h1></div>
            <div class="form">
                <form id = "form">
                    <div class="form-group">
                        <label>Email</label>
                        <input type="email" class="form-control" name="email" placeholder="请输入邮箱">
                      </div>
                      <div class="form-group">
                        <label>Username</label>
                        <input type="text" class="form-control" name="username"  placeholder="请输入用户名">
                      </div>
                      <div class="form-group">
                        <label>Password</label><a href="#">忘记密码？</a>
                        <input type="password" class="form-control" name="password"  placeholder="请输入密码">
                      </div>
                      <div class="form-group">
                        <label>性别：</label>
                        <label class="radio-inline">
                            <input type="radio" name="gender" value="-1">保密
                          </label>
                          <label class="radio-inline">
                            <input type="radio" name="gender" value="1">男
                          </label>
                          <label class="radio-inline">
                            <input type="radio" name="gender" value="0">女
                          </label>
                      </div>
                      <div>
                          <button type="submit" class="btn btn-success">注册</button>
                      </div>
                </form>
            </div>
            <div class="tip">
                <span>已有账户？<a href="/login">点击登录</a></span>
            </div>
        </div>
    </div>
</div>
{{/block}}

{{block 'script'}}
<script src="/public/js/register.js"></script>
{{/block}}